<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":"
            + request.getServerPort() + path + "/";
%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<base href="<%=basePath%>">

   <!--  <link rel="icon" href="resources/img/favicon.ico" type="image/x-icon"> -->

    <link href="resources/css/back/bootstrap.min.css" rel="stylesheet">
    <script src="resources/js/jquery.min.js"></script>
    <script src="resources/js/bootstrap.min.js"></script>
    <script src="resources/js/base.js"></script>
    <title>C++轻松入门</title>
</head>
	<div id="header">
		<%@ include file="common/navbar.jsp"%>
	</div>
 <div class="container">
	<br>
	<c:if test="${not empty user}"><h4>欢迎您:<span  class="label label-primary">${user.username}</span></h4></c:if>	
	<c:if test="${empty user}"><a href="loginview">登录</a></c:if>
	<c:if test="${not empty tip_info }"><strong>${tip_info }</strong></c:if>
	<table class="table table-bordered">
		<tr>
			<th class="muted">项目</th>
			<th class="muted">内容</th>
		</tr>
		<tr>
			<td>昵称：</td>
			<td>${user.name}</td>
		</tr>
		<tr>
			<td>账号:</td>
			<td>${user.username}</td>
		</tr>
		<tr>
			<td>邮箱：</td>
			<td>${user.email}</td>
		</tr>
	</table>
</div>
</body>
</html>